package lxt.entity;
// default package

import java.util.HashSet;
import java.util.Set;
import lxt.entity.InvoiceOrder;


/**
 * InvoiceInfo entity. @author MyEclipse Persistence Tools
 */

public class InvoiceInfo  implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
    // Fields    

     private String id;
     private InvoiceOrder invoiceOrder;
     private String truckId;
     private Integer isBorrowed;
     private Integer transTimes;
     private double loadPertime;
     private String note;
     private Set<Object> borrowTruckInfos = new HashSet<Object>(0);
     private Set<Object> driverWorkloads = new HashSet<Object>(0);


    // Constructors

    /** default constructor */
    public InvoiceInfo() {
    }

	/** minimal constructor */
    public InvoiceInfo(InvoiceOrder invoiceOrder, String truckId) {
        this.invoiceOrder = invoiceOrder;
        this.truckId = truckId;
    }
    
    /** full constructor */
    public InvoiceInfo(InvoiceOrder invoiceOrder, String truckId, Integer isBorrowed, Integer transTimes, long loadPertime, String note, Set<Object> borrowTruckInfos,Set<Object> driverWorkloads) {
        this.invoiceOrder = invoiceOrder;
        this.truckId = truckId;
        this.isBorrowed = isBorrowed;
        this.transTimes = transTimes;
        this.loadPertime = loadPertime;
        this.note = note;
        this.borrowTruckInfos = borrowTruckInfos;
        this.driverWorkloads = driverWorkloads;
    }

   
    // Property accessors

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }

    public InvoiceOrder getInvoiceOrder() {
        return this.invoiceOrder;
    }
    
    public void setInvoiceOrder(InvoiceOrder invoiceOrder) {
        this.invoiceOrder = invoiceOrder;
    }

    public String getTruckId() {
        return this.truckId;
    }
    
    public void setTruckId(String truckId) {
        this.truckId = truckId;
    }

    public Integer getIsBorrowed() {
        return this.isBorrowed;
    }
    
    public void setIsBorrowed(Integer isBorrowed) {
        this.isBorrowed = isBorrowed;
    }

    public Integer getTransTimes() {
        return this.transTimes;
    }
    
    public void setTransTimes(Integer transTimes) {
        this.transTimes = transTimes;
    }

    public double getLoadPertime() {
        return this.loadPertime;
    }
    
    public void setLoadPertime(double loadPertime) {
        this.loadPertime = loadPertime;
    }

    public String getNote() {
        return this.note;
    }
    
    public void setNote(String note) {
        this.note = note;
    }

    public Set<Object> getBorrowTruckInfos() {
        return this.borrowTruckInfos;
    }
    
    public void setBorrowTruckInfos(Set<Object> borrowTruckInfos) {
        this.borrowTruckInfos = borrowTruckInfos;
    }

    public Set<Object> getDriverWorkloads() {
        return this.driverWorkloads;
    }
    
    public void setDriverWorkloads(Set<Object> driverWorkloads) {
        this.driverWorkloads = driverWorkloads;
    }
   

}